home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 26 (Anniversary Edition)
/
Volume 26 [Anniversary Edition] - JOGO DISK .iso
/
DEPOSITO
/
REmovido
/
Esportes
/
Board.swf
/
scripts
/
DefineSprite_213
/
frame_9
/
DoAction.as
Wrap
Text File
|
2006-06-13
|
1KB
|
51 lines
if(nojump == "1")
{
jumpower /= "1.3";
}
if(eval("boardoanim:mute") == "3")
{
set("../:score",eval("../:score") + "10");
}
if(jumpcount < jumpower / "2")
{
jumpheight = jumpower / jumpcount;
}
else
{
jumpheight = jumpower / (jumpower - jumpcount) * (- "1");
}
jumpscale += jumpheight / "2";
if("0" < jumpscale)
{
_xscale = jumpscale;
_yscale = jumpscale;
setProperty("../snowtrail", _Y, getProperty("../snowtrail", _Y) - (eval("../:gamespeed") / "2" + "5"));
setProperty("../shadow", _Y, getProperty("../shadow", _Y) + jumpheight / "2");
setProperty("../shadow", _yscale, getProperty("../shadow", _yscale) - jumpheight / "3");
}
jumpcount += "1";
if(jumpcount >= jumpower)
{
setProperty("../shadow", _Y, "129");
setProperty("../shadow", _yscale, "100");
jumpscale = "100";
_xscale = "100";
_yscale = "100";
if("1" < eval("boardoanim:mute") or eval("boardoanim:muteflip") == "1" or eval("boardoanim:mute360") == "1")
{
tellTarget("boardoanim")
{
gotoAndStop(11);
}
gotoAndPlay(25);
}
else
{
tellTarget("boardoanim")
{
gotoAndStop(10);
}
gotoAndPlay(15);
}
}